package com.ruoyi.wb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到对象 wb_sign
 *
 * @author ruoyi
 * @date 2024-10-14
 */
public class WbSign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 客户id */
    @Excel(name = "客户id")
    private Long clientId;

    /** 客户id */
    @Excel(name = "客户id")
    private String clientName;

    /** 签到人id */
    @Excel(name = "签到人id")
    private Long uid;

    /** 签到人 */
    @Excel(name = "签到人")
    private String signName;

    /** 签到地址 */
    @Excel(name = "签到地址")
    private String address;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signDate;

    /** 签到经度 */
    @Excel(name = "签到经度")
    private String longitude;

    /** 签到纬度 */
    @Excel(name = "签到纬度")
    private String latitude;

    /** 签到情况（1签到，2签退，3未签） */
    @Excel(name = "签到情况", readConverterExp = "1=签到，2签退，3未签")
    private String signType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClientId(Long clientId)
    {
        this.clientId = clientId;
    }

    public Long getClientId()
    {
        return clientId;
    }
    public void setClientName(String clientName)
    {
        this.clientName = clientName;
    }

    public String getClientName()
    {
        return clientName;
    }
    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }
    public void setSignName(String signName)
    {
        this.signName = signName;
    }

    public String getSignName()
    {
        return signName;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setSignDate(Date signDate)
    {
        this.signDate = signDate;
    }

    public Date getSignDate()
    {
        return signDate;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setSignType(String signType)
    {
        this.signType = signType;
    }

    public String getSignType()
    {
        return signType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("clientId", getClientId())
                .append("clientName", getClientName())
                .append("uid", getUid())
                .append("signName", getSignName())
                .append("address", getAddress())
                .append("signDate", getSignDate())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("signType", getSignType())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
